Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@ember/edition-utils
Advanced tools
Utilities to detect if a given edition is in use in an ember-cli application.
This package is the officially supported mechanism for declaring and detecting the specific edition that a given application is using.
In order to declare which edition of Ember your application (or addon) is compatible with
you would call setEdition
from within your .ember-cli.js
file. This might look something like:
const { setEdition } = require('@ember/edition-utils');
setEdition('octane');
module.exports = {
// other configuration here
}
In order to detect if the currently running application is using at least a
specific edition, you would call has
. This will most commonly be used from
within various addon's to determine which blueprint code to run. For example:
const { has } = require('@ember/edition-utils');
if (has('octane')) {
// do octane stuff
} else {
// do classic mode stuff
}
This project is licensed under the MIT License.
v1.2.0 (2019-12-11)
FAQs
Utilities to detect if a given edition is in use in an ember-cli application.
The npm package @ember/edition-utils receives a total of 21,121 weekly downloads. As such, @ember/edition-utils popularity was classified as popular.
We found that @ember/edition-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.